﻿package com.utils 
{
	import com.element.Clips;
	import com.element.movieClip.ClipHouseParticle1;
	import com.element.movieClip.ClipHouseParticle2;
	import com.element.movieClip.MCField;
	
	/**
	 * ...
	 * @author zhengzihua
	 */
	public class ObjectList 
	{
		
		public function ObjectList() 
		{
			
		}
		public static function mappingData(str:String):Clips {
			var clip:Clips;
			switch(str) {
				case "3001":
					clip = new MCField();
					break;
				case"3002":
					clip = new ClipHouseParticle1();
					break;
				case"3003":
					clip = new ClipHouseParticle2();
					break;	
				default:
					DebugTrace.dtrace("code error ObjectList.as:没有该类型");
					break;
			}
			return clip;
		}
		
	}
	
}